package cn.wjssl.infrastructure.persistent.dao;

import cn.bugstack.middleware.db.router.annotation.DBRouterStrategy;
import cn.wjssl.infrastructure.persistent.po.UserAwardRecordPO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户中奖记录表
 */
@Mapper
@DBRouterStrategy(splitTable = true)
public interface IUserAwardRecordDao {

    // 插入中奖记录
    int insert(UserAwardRecordPO recordPO);

    // 更新中奖记录状态为complete
    int updateAwardRecordCompletedState(UserAwardRecordPO recordPO);
}
